package com.yuandian.management.vo.flow;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 原始数据样包存储表
 */
@Data
public class FilterData implements Serializable  {
    private long id;//;//bigint(11) NOT NULL AUTO_INCREMENT,
    private int filterId;//;//int(11) DEFAULT NULL COMMENT '过滤规则id',
    private String dataId;//;//varchar(30) DEFAULT NULL COMMENT '数据id',
    private int msgType;//;//int(11) DEFAULT NULL COMMENT '消息类型：22:web，23:mid，24:db',
    private String requestIp;//;//bigint(20) DEFAULT NULL,
    private String responseIp;//;//bigint(20) DEFAULT NULL,
    private long startTvSec;//;//bigint(20) NOT NULL,
    private long startTvUsec;//;//bigint(20) DEFAULT NULL,
    private long endTvSec;//;//bigint(20) DEFAULT NULL,
    private long endTvUsec;//;//bigint(20) NOT NULL DEFAULT '0',
    private String discResourceIdent;//longtext COMMENT '匹配串',
    private String oriString;//longtext COMMENT '原始URL/API/SQL',
    private String reterUrl;//longtext,
    private String xRequestedWith;//varchar(50) DEFAULT NULL,
    private String name;//varchar(20) DEFAULT NULL,
    private int requestPort;//int(11) DEFAULT NULL,
    private int responsePort;//int(11) DEFAULT NULL,
    private int protocol;//int(11) DEFAULT NULL COMMENT '协议',
    private String bussType;//varchar(60) DEFAULT NULL COMMENT '业务服务资源',
    private String sessionId;//varchar(80) DEFAULT NULL,
    private String sessionSerialNumber;//varchar(50) DEFAULT NULL COMMENT '序列号',
    private String bussinessDetailMesg;//varchar(200) DEFAULT NULL COMMENT '专属指标',
    private String bussinessKeyMesg;//varchar(200) DEFAULT NULL COMMENT '关键字',
    private long tIntodbTime;//bigint(20) NOT NULL,
    private long reqMethod;//bigint(20) DEFAULT NULL,
    private String contentType;//varchar(40) DEFAULT NULL,
    private String accept;//varchar(40) DEFAULT NULL,
    private String channel;//varchar(60) DEFAULT NULL COMMENT '父业务服务资源',
    private int loadOrSetp;//int(11) NOT NULL,
    private String baseCode;//varchar(60) DEFAULT NULL,
    private String reqCookieDetail;//longtext,
    private String requestBodyContext;//longtext,
    private String responseBodyContext;//longtext,
    private int isCompletion;//int(11) DEFAULT NULL,
    private long dealTime;//bigint(20) DEFAULT NULL,
    private long clientTranslateTime;//bigint(20) DEFAULT NULL,
    private long serverTranslateTime;//bigint(20) DEFAULT NULL,
    private int dealSate;//int(11) DEFAULT NULL,
    private long serverResponseTime;//bigint(20) DEFAULT NULL,
    private long serverResponseStartTime;//bigint(20) DEFAULT NULL,
    private long serverResponseEndTime;//bigint(20) DEFAULT NULL,
    private String probeIp;//varchar(20) DEFAULT NULL,
    private long probeTime;//datetime DEFAULT NULL,

    // 非数据库字段
    private int count;
}
